package grape.house.rest.housetag.mapper;

import grape.house.rest.housetag.form.HouseTagListForm;
import grape.house.service.housetag.po.HouseTag;
import grape.common.rest.mvc.WebMapper;
import org.mapstruct.Mapper;
import grape.house.rest.housetag.form.HouseTagCreateForm;
import grape.house.rest.housetag.form.HouseTagUpdateForm;
import grape.house.rest.housetag.form.HouseTagListPageForm;
import grape.house.rest.housetag.vo.HouseTagVo;
import org.mapstruct.ReportingPolicy;
/**
 * <p>
 * 楼盘标签表 前端领域模型映射
 * </p>
 *
 * @author yangwei
 * @since 2020-09-21
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface HouseTagWebMapper extends WebMapper<HouseTagVo, HouseTag> {

    HouseTag formToPo(HouseTagCreateForm f);
    HouseTag formToPo(HouseTagUpdateForm f);
    HouseTag formToPo(HouseTagListPageForm f);
    HouseTag formToPo(HouseTagListForm f);
}
